# encoding: utf-8

f = open('cpi.csv', 'r') 
ls = []

for row in f:
    ls.append(row.strip('\n').split(','))
f.close()
print('output list:', ls)

for row in ls:
    line = ""
    for item in row:
        line += "{:10}\t".format(item)
    print(line)




